\(\int \frac {\text {csch}(c+d x)}{(a+b \tanh ^2(c+d x))^2} \, dx\) [37]
Optimal result
Integrand size = 21, antiderivative size = 103 \[
\int \frac {\text {csch}(c+d x)}{\left (a+b \tanh ^2(c+d x)\right )^2} \, dx=-\frac {\text {arctanh}(\cosh (c+d x))}{a^2 d}+\frac {\sqrt {b} (3 a+2 b) \text {arctanh}\left (\frac {\sqrt {b} \text {sech}(c+d x)}{\sqrt {a+b}}\right )}{2 a^2 (a+b)^{3/2} d}+\frac {b \text {sech}(c+d x)}{2 a (a+b) d \left (a+b-b \text {sech}^2(c+d x)\right )}
\]
[Out]
-arctanh(cosh(d*x+c))/a^2/d+1/2*b*sech(d*x+c)/a/(a+b)/d/(a+b-b*sech(d*x+c)^2)+1/2*(3*a+2*b)*arctanh(sech(d*x+c
)*b^(1/2)/(a+b)^(1/2))*b^(1/2)/a^2/(a+b)^(3/2)/d
Rubi [A] (verified)
Time = 0.11 (sec) , antiderivative size = 103, normalized size of antiderivative = 1.00, number of
steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {3745, 425, 536, 213, 214}
\[
\int \frac {\text {csch}(c+d x)}{\left (a+b \tanh ^2(c+d x)\right )^2} \, dx=\frac {\sqrt {b} (3 a+2 b) \text {arctanh}\left (\frac {\sqrt {b} \text {sech}(c+d x)}{\sqrt {a+b}}\right )}{2 a^2 d (a+b)^{3/2}}-\frac {\text {arctanh}(\cosh (c+d x))}{a^2 d}+\frac {b \text {sech}(c+d x)}{2 a d (a+b) \left (a-b \text {sech}^2(c+d x)+b\right )}
\]
[In]
Int[Csch[c + d*x]/(a + b*Tanh[c + d*x]^2)^2,x]
[Out]
-(ArcTanh[Cosh[c + d*x]]/(a^2*d)) + (Sqrt[b]*(3*a + 2*b)*ArcTanh[(Sqrt[b]*Sech[c + d*x])/Sqrt[a + b]])/(2*a^2*
(a + b)^(3/2)*d) + (b*Sech[c + d*x])/(2*a*(a + b)*d*(a + b - b*Sech[c + d*x]^2))
Rule 213
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[b, 2])^(-1))*ArcTanh[Rt[b, 2]*(x/Rt[-a, 2])]
, x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (LtQ[a, 0] || GtQ[b, 0])
Rule 214
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]
Rule 425
Int[((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Simp[(-b)*x*(a + b*x^n)^(p + 1)*
((c + d*x^n)^(q + 1)/(a*n*(p + 1)*(b*c - a*d))), x] + Dist[1/(a*n*(p + 1)*(b*c - a*d)), Int[(a + b*x^n)^(p + 1
)*(c + d*x^n)^q*Simp[b*c + n*(p + 1)*(b*c - a*d) + d*b*(n*(p + q + 2) + 1)*x^n, x], x], x] /; FreeQ[{a, b, c,
d, n, q}, x] && NeQ[b*c - a*d, 0] && LtQ[p, -1] && !( !IntegerQ[p] && IntegerQ[q] && LtQ[q, -1]) && IntBinomi
alQ[a, b, c, d, n, p, q, x]
Rule 536
Int[((e_) + (f_.)*(x_)^(n_))/(((a_) + (b_.)*(x_)^(n_))*((c_) + (d_.)*(x_)^(n_))), x_Symbol] :> Dist[(b*e - a*f
)/(b*c - a*d), Int[1/(a + b*x^n), x], x] - Dist[(d*e - c*f)/(b*c - a*d), Int[1/(c + d*x^n), x], x] /; FreeQ[{a
, b, c, d, e, f, n}, x]
Rule 3745
Int[sin[(e_.) + (f_.)*(x_)]^(m_.)*((a_) + (b_.)*tan[(e_.) + (f_.)*(x_)]^2)^(p_.), x_Symbol] :> With[{ff = Free
Factors[Sec[e + f*x], x]}, Dist[1/(f*ff^m), Subst[Int[(-1 + ff^2*x^2)^((m - 1)/2)*((a - b + b*ff^2*x^2)^p/x^(m
+ 1)), x], x, Sec[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f, p}, x] && IntegerQ[(m - 1)/2]
Rubi steps \begin{align*}
\text {integral}& = \frac {\text {Subst}\left (\int \frac {1}{\left (-1+x^2\right ) \left (a+b-b x^2\right )^2} \, dx,x,\text {sech}(c+d x)\right )}{d} \\ & = \frac {b \text {sech}(c+d x)}{2 a (a+b) d \left (a+b-b \text {sech}^2(c+d x)\right )}+\frac {\text {Subst}\left (\int \frac {2 a+b+b x^2}{\left (-1+x^2\right ) \left (a+b-b x^2\right )} \, dx,x,\text {sech}(c+d x)\right )}{2 a (a+b) d} \\ & = \frac {b \text {sech}(c+d x)}{2 a (a+b) d \left (a+b-b \text {sech}^2(c+d x)\right )}+\frac {\text {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\text {sech}(c+d x)\right )}{a^2 d}+\frac {(b (3 a+2 b)) \text {Subst}\left (\int \frac {1}{a+b-b x^2} \, dx,x,\text {sech}(c+d x)\right )}{2 a^2 (a+b) d} \\ & = -\frac {\text {arctanh}(\cosh (c+d x))}{a^2 d}+\frac {\sqrt {b} (3 a+2 b) \text {arctanh}\left (\frac {\sqrt {b} \text {sech}(c+d x)}{\sqrt {a+b}}\right )}{2 a^2 (a+b)^{3/2} d}+\frac {b \text {sech}(c+d x)}{2 a (a+b) d \left (a+b-b \text {sech}^2(c+d x)\right )} \\
\end{align*}
Mathematica [C] (verified)
Result contains complex when optimal does not.
Time = 1.50 (sec) , antiderivative size = 188, normalized size of antiderivative = 1.83
\[
\int \frac {\text {csch}(c+d x)}{\left (a+b \tanh ^2(c+d x)\right )^2} \, dx=\frac {\frac {i \sqrt {b} (3 a+2 b) \arctan \left (\frac {-i \sqrt {a+b}-\sqrt {a} \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {b}}\right )}{(a+b)^{3/2}}+\frac {i \sqrt {b} (3 a+2 b) \arctan \left (\frac {-i \sqrt {a+b}+\sqrt {a} \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {b}}\right )}{(a+b)^{3/2}}+\frac {2 a b \cosh (c+d x)}{(a+b) (a-b+(a+b) \cosh (2 (c+d x)))}-2 \log \left (\cosh \left (\frac {1}{2} (c+d x)\right )\right )+2 \log \left (\sinh \left (\frac {1}{2} (c+d x)\right )\right )}{2 a^2 d}
\]
[In]
Integrate[Csch[c + d*x]/(a + b*Tanh[c + d*x]^2)^2,x]
[Out]
((I*Sqrt[b]*(3*a + 2*b)*ArcTan[((-I)*Sqrt[a + b] - Sqrt[a]*Tanh[(c + d*x)/2])/Sqrt[b]])/(a + b)^(3/2) + (I*Sqr
t[b]*(3*a + 2*b)*ArcTan[((-I)*Sqrt[a + b] + Sqrt[a]*Tanh[(c + d*x)/2])/Sqrt[b]])/(a + b)^(3/2) + (2*a*b*Cosh[c
+ d*x])/((a + b)*(a - b + (a + b)*Cosh[2*(c + d*x)])) - 2*Log[Cosh[(c + d*x)/2]] + 2*Log[Sinh[(c + d*x)/2]])/
(2*a^2*d)
Maple [A] (verified)
Time = 0.95 (sec) , antiderivative size = 161, normalized size of antiderivative = 1.56
| | |
method | result | size |
| | |
derivativedivides |
\(\frac {\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{a^{2}}-\frac {4 b \left (\frac {-\frac {\left (a +2 b \right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}{4 \left (a +b \right )}-\frac {a}{4 \left (a +b \right )}}{\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{4} a +2 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} a +4 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} b +a}-\frac {\left (3 a +2 b \right ) \operatorname {arctanh}\left (\frac {2 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} a +2 a +4 b}{4 \sqrt {a b +b^{2}}}\right )}{8 \left (a +b \right ) \sqrt {a b +b^{2}}}\right )}{a^{2}}}{d}\) |
\(161\) |
default |
\(\frac {\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{a^{2}}-\frac {4 b \left (\frac {-\frac {\left (a +2 b \right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}{4 \left (a +b \right )}-\frac {a}{4 \left (a +b \right )}}{\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{4} a +2 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} a +4 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} b +a}-\frac {\left (3 a +2 b \right ) \operatorname {arctanh}\left (\frac {2 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} a +2 a +4 b}{4 \sqrt {a b +b^{2}}}\right )}{8 \left (a +b \right ) \sqrt {a b +b^{2}}}\right )}{a^{2}}}{d}\) |
\(161\) |
risch |
\(\frac {b \,{\mathrm e}^{d x +c} \left ({\mathrm e}^{2 d x +2 c}+1\right )}{a \left (a +b \right ) d \left (a \,{\mathrm e}^{4 d x +4 c}+b \,{\mathrm e}^{4 d x +4 c}+2 \,{\mathrm e}^{2 d x +2 c} a -2 b \,{\mathrm e}^{2 d x +2 c}+a +b \right )}+\frac {\ln \left ({\mathrm e}^{d x +c}-1\right )}{a^{2} d}-\frac {\ln \left ({\mathrm e}^{d x +c}+1\right )}{a^{2} d}+\frac {3 \sqrt {\left (a +b \right ) b}\, \ln \left ({\mathrm e}^{2 d x +2 c}+\frac {2 \sqrt {\left (a +b \right ) b}\, {\mathrm e}^{d x +c}}{a +b}+1\right )}{4 \left (a +b \right )^{2} d a}+\frac {\sqrt {\left (a +b \right ) b}\, \ln \left ({\mathrm e}^{2 d x +2 c}+\frac {2 \sqrt {\left (a +b \right ) b}\, {\mathrm e}^{d x +c}}{a +b}+1\right ) b}{2 \left (a +b \right )^{2} d \,a^{2}}-\frac {3 \sqrt {\left (a +b \right ) b}\, \ln \left ({\mathrm e}^{2 d x +2 c}-\frac {2 \sqrt {\left (a +b \right ) b}\, {\mathrm e}^{d x +c}}{a +b}+1\right )}{4 \left (a +b \right )^{2} d a}-\frac {\sqrt {\left (a +b \right ) b}\, \ln \left ({\mathrm e}^{2 d x +2 c}-\frac {2 \sqrt {\left (a +b \right ) b}\, {\mathrm e}^{d x +c}}{a +b}+1\right ) b}{2 \left (a +b \right )^{2} d \,a^{2}}\) |
\(326\) |
| | |
|
|
|
[In]
int(csch(d*x+c)/(a+b*tanh(d*x+c)^2)^2,x,method=_RETURNVERBOSE)
[Out]
1/d*(1/a^2*ln(tanh(1/2*d*x+1/2*c))-4/a^2*b*((-1/4*(a+2*b)/(a+b)*tanh(1/2*d*x+1/2*c)^2-1/4*a/(a+b))/(tanh(1/2*d
*x+1/2*c)^4*a+2*tanh(1/2*d*x+1/2*c)^2*a+4*tanh(1/2*d*x+1/2*c)^2*b+a)-1/8*(3*a+2*b)/(a+b)/(a*b+b^2)^(1/2)*arcta
nh(1/4*(2*tanh(1/2*d*x+1/2*c)^2*a+2*a+4*b)/(a*b+b^2)^(1/2))))
Fricas [B] (verification not implemented)
Leaf count of result is larger than twice the leaf count of optimal. 1324 vs. \(2 (94) = 188\).
Time = 0.35 (sec) , antiderivative size = 2614, normalized size of antiderivative = 25.38
\[
\int \frac {\text {csch}(c+d x)}{\left (a+b \tanh ^2(c+d x)\right )^2} \, dx=\text {Too large to display}
\]
[In]
integrate(csch(d*x+c)/(a+b*tanh(d*x+c)^2)^2,x, algorithm="fricas")
[Out]
[1/4*(4*a*b*cosh(d*x + c)^3 + 12*a*b*cosh(d*x + c)*sinh(d*x + c)^2 + 4*a*b*sinh(d*x + c)^3 + 4*a*b*cosh(d*x +
c) + ((3*a^2 + 5*a*b + 2*b^2)*cosh(d*x + c)^4 + 4*(3*a^2 + 5*a*b + 2*b^2)*cosh(d*x + c)*sinh(d*x + c)^3 + (3*a
^2 + 5*a*b + 2*b^2)*sinh(d*x + c)^4 + 2*(3*a^2 - a*b - 2*b^2)*cosh(d*x + c)^2 + 2*(3*(3*a^2 + 5*a*b + 2*b^2)*c
osh(d*x + c)^2 + 3*a^2 - a*b - 2*b^2)*sinh(d*x + c)^2 + 3*a^2 + 5*a*b + 2*b^2 + 4*((3*a^2 + 5*a*b + 2*b^2)*cos
h(d*x + c)^3 + (3*a^2 - a*b - 2*b^2)*cosh(d*x + c))*sinh(d*x + c))*sqrt(b/(a + b))*log(((a + b)*cosh(d*x + c)^
4 + 4*(a + b)*cosh(d*x + c)*sinh(d*x + c)^3 + (a + b)*sinh(d*x + c)^4 + 2*(a + 3*b)*cosh(d*x + c)^2 + 2*(3*(a
+ b)*cosh(d*x + c)^2 + a + 3*b)*sinh(d*x + c)^2 + 4*((a + b)*cosh(d*x + c)^3 + (a + 3*b)*cosh(d*x + c))*sinh(d
*x + c) + 4*((a + b)*cosh(d*x + c)^3 + 3*(a + b)*cosh(d*x + c)*sinh(d*x + c)^2 + (a + b)*sinh(d*x + c)^3 + (a
+ b)*cosh(d*x + c) + (3*(a + b)*cosh(d*x + c)^2 + a + b)*sinh(d*x + c))*sqrt(b/(a + b)) + a + b)/((a + b)*cosh
(d*x + c)^4 + 4*(a + b)*cosh(d*x + c)*sinh(d*x + c)^3 + (a + b)*sinh(d*x + c)^4 + 2*(a - b)*cosh(d*x + c)^2 +
2*(3*(a + b)*cosh(d*x + c)^2 + a - b)*sinh(d*x + c)^2 + 4*((a + b)*cosh(d*x + c)^3 + (a - b)*cosh(d*x + c))*si
nh(d*x + c) + a + b)) - 4*((a^2 + 2*a*b + b^2)*cosh(d*x + c)^4 + 4*(a^2 + 2*a*b + b^2)*cosh(d*x + c)*sinh(d*x
+ c)^3 + (a^2 + 2*a*b + b^2)*sinh(d*x + c)^4 + 2*(a^2 - b^2)*cosh(d*x + c)^2 + 2*(3*(a^2 + 2*a*b + b^2)*cosh(d
*x + c)^2 + a^2 - b^2)*sinh(d*x + c)^2 + a^2 + 2*a*b + b^2 + 4*((a^2 + 2*a*b + b^2)*cosh(d*x + c)^3 + (a^2 - b
^2)*cosh(d*x + c))*sinh(d*x + c))*log(cosh(d*x + c) + sinh(d*x + c) + 1) + 4*((a^2 + 2*a*b + b^2)*cosh(d*x + c
)^4 + 4*(a^2 + 2*a*b + b^2)*cosh(d*x + c)*sinh(d*x + c)^3 + (a^2 + 2*a*b + b^2)*sinh(d*x + c)^4 + 2*(a^2 - b^2
)*cosh(d*x + c)^2 + 2*(3*(a^2 + 2*a*b + b^2)*cosh(d*x + c)^2 + a^2 - b^2)*sinh(d*x + c)^2 + a^2 + 2*a*b + b^2
+ 4*((a^2 + 2*a*b + b^2)*cosh(d*x + c)^3 + (a^2 - b^2)*cosh(d*x + c))*sinh(d*x + c))*log(cosh(d*x + c) + sinh(
d*x + c) - 1) + 4*(3*a*b*cosh(d*x + c)^2 + a*b)*sinh(d*x + c))/((a^4 + 2*a^3*b + a^2*b^2)*d*cosh(d*x + c)^4 +
4*(a^4 + 2*a^3*b + a^2*b^2)*d*cosh(d*x + c)*sinh(d*x + c)^3 + (a^4 + 2*a^3*b + a^2*b^2)*d*sinh(d*x + c)^4 + 2*
(a^4 - a^2*b^2)*d*cosh(d*x + c)^2 + 2*(3*(a^4 + 2*a^3*b + a^2*b^2)*d*cosh(d*x + c)^2 + (a^4 - a^2*b^2)*d)*sinh
(d*x + c)^2 + (a^4 + 2*a^3*b + a^2*b^2)*d + 4*((a^4 + 2*a^3*b + a^2*b^2)*d*cosh(d*x + c)^3 + (a^4 - a^2*b^2)*d
*cosh(d*x + c))*sinh(d*x + c)), 1/2*(2*a*b*cosh(d*x + c)^3 + 6*a*b*cosh(d*x + c)*sinh(d*x + c)^2 + 2*a*b*sinh(
d*x + c)^3 + 2*a*b*cosh(d*x + c) + ((3*a^2 + 5*a*b + 2*b^2)*cosh(d*x + c)^4 + 4*(3*a^2 + 5*a*b + 2*b^2)*cosh(d
*x + c)*sinh(d*x + c)^3 + (3*a^2 + 5*a*b + 2*b^2)*sinh(d*x + c)^4 + 2*(3*a^2 - a*b - 2*b^2)*cosh(d*x + c)^2 +
2*(3*(3*a^2 + 5*a*b + 2*b^2)*cosh(d*x + c)^2 + 3*a^2 - a*b - 2*b^2)*sinh(d*x + c)^2 + 3*a^2 + 5*a*b + 2*b^2 +
4*((3*a^2 + 5*a*b + 2*b^2)*cosh(d*x + c)^3 + (3*a^2 - a*b - 2*b^2)*cosh(d*x + c))*sinh(d*x + c))*sqrt(-b/(a +
b))*arctan(1/2*((a + b)*cosh(d*x + c)^3 + 3*(a + b)*cosh(d*x + c)*sinh(d*x + c)^2 + (a + b)*sinh(d*x + c)^3 +
(a - 3*b)*cosh(d*x + c) + (3*(a + b)*cosh(d*x + c)^2 + a - 3*b)*sinh(d*x + c))*sqrt(-b/(a + b))/b) - ((3*a^2 +
5*a*b + 2*b^2)*cosh(d*x + c)^4 + 4*(3*a^2 + 5*a*b + 2*b^2)*cosh(d*x + c)*sinh(d*x + c)^3 + (3*a^2 + 5*a*b + 2
*b^2)*sinh(d*x + c)^4 + 2*(3*a^2 - a*b - 2*b^2)*cosh(d*x + c)^2 + 2*(3*(3*a^2 + 5*a*b + 2*b^2)*cosh(d*x + c)^2
+ 3*a^2 - a*b - 2*b^2)*sinh(d*x + c)^2 + 3*a^2 + 5*a*b + 2*b^2 + 4*((3*a^2 + 5*a*b + 2*b^2)*cosh(d*x + c)^3 +
(3*a^2 - a*b - 2*b^2)*cosh(d*x + c))*sinh(d*x + c))*sqrt(-b/(a + b))*arctan(1/2*((a + b)*cosh(d*x + c) + (a +
b)*sinh(d*x + c))*sqrt(-b/(a + b))/b) - 2*((a^2 + 2*a*b + b^2)*cosh(d*x + c)^4 + 4*(a^2 + 2*a*b + b^2)*cosh(d
*x + c)*sinh(d*x + c)^3 + (a^2 + 2*a*b + b^2)*sinh(d*x + c)^4 + 2*(a^2 - b^2)*cosh(d*x + c)^2 + 2*(3*(a^2 + 2*
a*b + b^2)*cosh(d*x + c)^2 + a^2 - b^2)*sinh(d*x + c)^2 + a^2 + 2*a*b + b^2 + 4*((a^2 + 2*a*b + b^2)*cosh(d*x
+ c)^3 + (a^2 - b^2)*cosh(d*x + c))*sinh(d*x + c))*log(cosh(d*x + c) + sinh(d*x + c) + 1) + 2*((a^2 + 2*a*b +
b^2)*cosh(d*x + c)^4 + 4*(a^2 + 2*a*b + b^2)*cosh(d*x + c)*sinh(d*x + c)^3 + (a^2 + 2*a*b + b^2)*sinh(d*x + c)
^4 + 2*(a^2 - b^2)*cosh(d*x + c)^2 + 2*(3*(a^2 + 2*a*b + b^2)*cosh(d*x + c)^2 + a^2 - b^2)*sinh(d*x + c)^2 + a
^2 + 2*a*b + b^2 + 4*((a^2 + 2*a*b + b^2)*cosh(d*x + c)^3 + (a^2 - b^2)*cosh(d*x + c))*sinh(d*x + c))*log(cosh
(d*x + c) + sinh(d*x + c) - 1) + 2*(3*a*b*cosh(d*x + c)^2 + a*b)*sinh(d*x + c))/((a^4 + 2*a^3*b + a^2*b^2)*d*c
osh(d*x + c)^4 + 4*(a^4 + 2*a^3*b + a^2*b^2)*d*cosh(d*x + c)*sinh(d*x + c)^3 + (a^4 + 2*a^3*b + a^2*b^2)*d*sin
h(d*x + c)^4 + 2*(a^4 - a^2*b^2)*d*cosh(d*x + c)^2 + 2*(3*(a^4 + 2*a^3*b + a^2*b^2)*d*cosh(d*x + c)^2 + (a^4 -
a^2*b^2)*d)*sinh(d*x + c)^2 + (a^4 + 2*a^3*b + a^2*b^2)*d + 4*((a^4 + 2*a^3*b + a^2*b^2)*d*cosh(d*x + c)^3 +
(a^4 - a^2*b^2)*d*cosh(d*x + c))*sinh(d*x + c))]
Sympy [F]
\[
\int \frac {\text {csch}(c+d x)}{\left (a+b \tanh ^2(c+d x)\right )^2} \, dx=\int \frac {\operatorname {csch}{\left (c + d x \right )}}{\left (a + b \tanh ^{2}{\left (c + d x \right )}\right )^{2}}\, dx
\]
[In]
integrate(csch(d*x+c)/(a+b*tanh(d*x+c)**2)**2,x)
[Out]
Integral(csch(c + d*x)/(a + b*tanh(c + d*x)**2)**2, x)
Maxima [F]
\[
\int \frac {\text {csch}(c+d x)}{\left (a+b \tanh ^2(c+d x)\right )^2} \, dx=\int { \frac {\operatorname {csch}\left (d x + c\right )}{{\left (b \tanh \left (d x + c\right )^{2} + a\right )}^{2}} \,d x }
\]
[In]
integrate(csch(d*x+c)/(a+b*tanh(d*x+c)^2)^2,x, algorithm="maxima")
[Out]
(b*e^(3*d*x + 3*c) + b*e^(d*x + c))/(a^3*d + 2*a^2*b*d + a*b^2*d + (a^3*d*e^(4*c) + 2*a^2*b*d*e^(4*c) + a*b^2*
d*e^(4*c))*e^(4*d*x) + 2*(a^3*d*e^(2*c) - a*b^2*d*e^(2*c))*e^(2*d*x)) - log((e^(d*x + c) + 1)*e^(-c))/(a^2*d)
+ log((e^(d*x + c) - 1)*e^(-c))/(a^2*d) - 2*integrate(1/2*((3*a*b*e^(3*c) + 2*b^2*e^(3*c))*e^(3*d*x) - (3*a*b*
e^c + 2*b^2*e^c)*e^(d*x))/(a^4 + 2*a^3*b + a^2*b^2 + (a^4*e^(4*c) + 2*a^3*b*e^(4*c) + a^2*b^2*e^(4*c))*e^(4*d*
x) + 2*(a^4*e^(2*c) - a^2*b^2*e^(2*c))*e^(2*d*x)), x)
Giac [F]
\[
\int \frac {\text {csch}(c+d x)}{\left (a+b \tanh ^2(c+d x)\right )^2} \, dx=\int { \frac {\operatorname {csch}\left (d x + c\right )}{{\left (b \tanh \left (d x + c\right )^{2} + a\right )}^{2}} \,d x }
\]
[In]
integrate(csch(d*x+c)/(a+b*tanh(d*x+c)^2)^2,x, algorithm="giac")
[Out]
sage0*x
Mupad [F(-1)]
Timed out. \[
\int \frac {\text {csch}(c+d x)}{\left (a+b \tanh ^2(c+d x)\right )^2} \, dx=\int \frac {1}{\mathrm {sinh}\left (c+d\,x\right )\,{\left (b\,{\mathrm {tanh}\left (c+d\,x\right )}^2+a\right )}^2} \,d x
\]
[In]
int(1/(sinh(c + d*x)*(a + b*tanh(c + d*x)^2)^2),x)
[Out]
int(1/(sinh(c + d*x)*(a + b*tanh(c + d*x)^2)^2), x)